package com.nf.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestAction {

    @RequestMapping("/hi")
    public String a(String username,Integer num){
        System.out.println(username +","+ num);
        return "a1";
    }

    @RequestMapping("/hi2")
    public String b(){
        return "a2";
    }
}
